﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLL;

namespace EDM
{
    public class StatusQuery : IStatusShow
    {

        public List<string> Search()
        {

            List<string> statusList = new List<string>();

            TrainingWorkshopEntities db = new TrainingWorkshopEntities();

            statusList = (from m in db.StatusTexts select m.StatusName ).ToList();
            

            return statusList;
        }

    }
}
